.class Lcom/example/m6wmr/MyBalanceActivity$1$2;
.super Ljava/lang/Object;
.source "MyBalanceActivity.java"

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/MyBalanceActivity$1;->handleMessage(Landroid/os/Message;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Landroid/widget/AdapterView$OnItemClickListener;"
    }
.end annotation


# instance fields
.field final synthetic this$1:Lcom/example/m6wmr/MyBalanceActivity$1;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/MyBalanceActivity$1;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/MyBalanceActivity$1$2;->this$1:Lcom/example/m6wmr/MyBalanceActivity$1;

    .line 304
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 7
    .param p2, "view"    # Landroid/view/View;
    .param p3, "arg2"    # I
    .param p4, "arg3"    # J
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView",
            "<*>;",
            "Landroid/view/View;",
            "IJ)V"
        }
    .end annotation

    .prologue
    .line 310
    .local p1, "arg0":Landroid/widget/AdapterView;, "Landroid/widget/AdapterView<*>;"
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_0
    iget-object v5, p0, Lcom/example/m6wmr/MyBalanceActivity$1$2;->this$1:Lcom/example/m6wmr/MyBalanceActivity$1;

    # getter for: Lcom/example/m6wmr/MyBalanceActivity$1;->this$0:Lcom/example/m6wmr/MyBalanceActivity;
    invoke-static {v5}, Lcom/example/m6wmr/MyBalanceActivity$1;->access$0(Lcom/example/m6wmr/MyBalanceActivity$1;)Lcom/example/m6wmr/MyBalanceActivity;

    move-result-object v5

    iget-object v5, v5, Lcom/example/m6wmr/MyBalanceActivity;->list:Ljava/util/List;

    invoke-interface {v5}, Ljava/util/List;->size()I

    move-result v5

    if-lt v0, v5, :cond_0

    .line 346
    iget-object v5, p0, Lcom/example/m6wmr/MyBalanceActivity$1$2;->this$1:Lcom/example/m6wmr/MyBalanceActivity$1;

    # getter for: Lcom/example/m6wmr/MyBalanceActivity$1;->this$0:Lcom/example/m6wmr/MyBalanceActivity;
    invoke-static {v5}, Lcom/example/m6wmr/MyBalanceActivity$1;->access$0(Lcom/example/m6wmr/MyBalanceActivity$1;)Lcom/example/m6wmr/MyBalanceActivity;

    move-result-object v5

    const-string v6, "1"

    invoke-static {v5, v6}, Lcom/example/m6wmr/MyBalanceActivity;->access$22(Lcom/example/m6wmr/MyBalanceActivity;Ljava/lang/String;)V

    .line 348
    iget-object v5, p0, Lcom/example/m6wmr/MyBalanceActivity$1$2;->this$1:Lcom/example/m6wmr/MyBalanceActivity$1;

    # getter for: Lcom/example/m6wmr/MyBalanceActivity$1;->this$0:Lcom/example/m6wmr/MyBalanceActivity;
    invoke-static {v5}, Lcom/example/m6wmr/MyBalanceActivity$1;->access$0(Lcom/example/m6wmr/MyBalanceActivity$1;)Lcom/example/m6wmr/MyBalanceActivity;

    move-result-object v5

    # getter for: Lcom/example/m6wmr/MyBalanceActivity;->total:Landroid/widget/TextView;
    invoke-static {v5}, Lcom/example/m6wmr/MyBalanceActivity;->access$23(Lcom/example/m6wmr/MyBalanceActivity;)Landroid/widget/TextView;

    move-result-object v6

    iget-object v5, p0, Lcom/example/m6wmr/MyBalanceActivity$1$2;->this$1:Lcom/example/m6wmr/MyBalanceActivity$1;

    # getter for: Lcom/example/m6wmr/MyBalanceActivity$1;->this$0:Lcom/example/m6wmr/MyBalanceActivity;
    invoke-static {v5}, Lcom/example/m6wmr/MyBalanceActivity$1;->access$0(Lcom/example/m6wmr/MyBalanceActivity$1;)Lcom/example/m6wmr/MyBalanceActivity;

    move-result-object v5

    iget-object v5, v5, Lcom/example/m6wmr/MyBalanceActivity;->list:Ljava/util/List;

    invoke-interface {v5, p3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lbean/ChargeBean;

    invoke-virtual {v5}, Lbean/ChargeBean;->getName()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v6, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 350
    return-void

    .line 313
    :cond_0
    iget-object v5, p0, Lcom/example/m6wmr/MyBalanceActivity$1$2;->this$1:Lcom/example/m6wmr/MyBalanceActivity$1;

    # getter for: Lcom/example/m6wmr/MyBalanceActivity$1;->this$0:Lcom/example/m6wmr/MyBalanceActivity;
    invoke-static {v5}, Lcom/example/m6wmr/MyBalanceActivity$1;->access$0(Lcom/example/m6wmr/MyBalanceActivity$1;)Lcom/example/m6wmr/MyBalanceActivity;

    move-result-object v5

    iget-object v6, p0, Lcom/example/m6wmr/MyBalanceActivity$1$2;->this$1:Lcom/example/m6wmr/MyBalanceActivity$1;

    # getter for: Lcom/example/m6wmr/MyBalanceActivity$1;->this$0:Lcom/example/m6wmr/MyBalanceActivity;
    invoke-static {v6}, Lcom/example/m6wmr/MyBalanceActivity$1;->access$0(Lcom/example/m6wmr/MyBalanceActivity$1;)Lcom/example/m6wmr/MyBalanceActivity;

    move-result-object v6

    iget-object v6, v6, Lcom/example/m6wmr/MyBalanceActivity;->gridView:Landroid/widget/GridView;

    invoke-virtual {v5, v0, v6}, Lcom/example/m6wmr/MyBalanceActivity;->getViewByPosition(ILandroid/widget/GridView;)Landroid/view/View;

    move-result-object v4

    .line 315
    .local v4, "view1":Landroid/view/View;
    if-ne v0, p3, :cond_2

    .line 316
    const v5, 0x7f02008b

    invoke-virtual {v4, v5}, Landroid/view/View;->setBackgroundResource(I)V

    .line 317
    const v5, 0x7f0c036f

    invoke-virtual {v4, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    .line 318
    .local v1, "tv1":Landroid/widget/TextView;
    const v5, 0x7f0c0370

    invoke-virtual {v4, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    .line 319
    .local v2, "tv2":Landroid/widget/TextView;
    const v5, 0x7f0c036e

    invoke-virtual {v4, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    .line 320
    .local v3, "tv3":Landroid/widget/TextView;
    const v5, -0x9192

    invoke-virtual {v1, v5}, Landroid/widget/TextView;->setTextColor(I)V

    .line 321
    const v5, -0x9192

    invoke-virtual {v2, v5}, Landroid/widget/TextView;->setTextColor(I)V

    .line 322
    const v5, -0x9192

    invoke-virtual {v3, v5}, Landroid/widget/TextView;->setTextColor(I)V

    .line 325
    iget-object v5, p0, Lcom/example/m6wmr/MyBalanceActivity$1$2;->this$1:Lcom/example/m6wmr/MyBalanceActivity$1;

    # getter for: Lcom/example/m6wmr/MyBalanceActivity$1;->this$0:Lcom/example/m6wmr/MyBalanceActivity;
    invoke-static {v5}, Lcom/example/m6wmr/MyBalanceActivity$1;->access$0(Lcom/example/m6wmr/MyBalanceActivity$1;)Lcom/example/m6wmr/MyBalanceActivity;

    move-result-object v5

    invoke-virtual {v1}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v6

    invoke-interface {v6}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-static {v5, v6}, Lcom/example/m6wmr/MyBalanceActivity;->access$21(Lcom/example/m6wmr/MyBalanceActivity;Ljava/lang/String;)V

    .line 326
    const-string v5, "11111111111111111111111111"

    iget-object v6, p0, Lcom/example/m6wmr/MyBalanceActivity$1$2;->this$1:Lcom/example/m6wmr/MyBalanceActivity$1;

    # getter for: Lcom/example/m6wmr/MyBalanceActivity$1;->this$0:Lcom/example/m6wmr/MyBalanceActivity;
    invoke-static {v6}, Lcom/example/m6wmr/MyBalanceActivity$1;->access$0(Lcom/example/m6wmr/MyBalanceActivity$1;)Lcom/example/m6wmr/MyBalanceActivity;

    move-result-object v6

    # getter for: Lcom/example/m6wmr/MyBalanceActivity;->pay_values:Ljava/lang/String;
    invoke-static {v6}, Lcom/example/m6wmr/MyBalanceActivity;->access$15(Lcom/example/m6wmr/MyBalanceActivity;)Ljava/lang/String;

    move-result-object v6

    invoke-static {v5, v6}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 328
    iget-object v5, p0, Lcom/example/m6wmr/MyBalanceActivity$1$2;->this$1:Lcom/example/m6wmr/MyBalanceActivity$1;

    # getter for: Lcom/example/m6wmr/MyBalanceActivity$1;->this$0:Lcom/example/m6wmr/MyBalanceActivity;
    invoke-static {v5}, Lcom/example/m6wmr/MyBalanceActivity$1;->access$0(Lcom/example/m6wmr/MyBalanceActivity$1;)Lcom/example/m6wmr/MyBalanceActivity;

    move-result-object v5

    # getter for: Lcom/example/m6wmr/MyBalanceActivity;->myApp:Lmyapp/MyApp;
    invoke-static {v5}, Lcom/example/m6wmr/MyBalanceActivity;->access$10(Lcom/example/m6wmr/MyBalanceActivity;)Lmyapp/MyApp;

    move-result-object v5

    invoke-virtual {v5}, Lmyapp/MyApp;->getAppcolor()Ljava/lang/String;

    move-result-object v5

    const-string v6, "1"

    invoke-virtual {v5, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_1

    .line 329
    const v5, 0x7f02001f

    invoke-virtual {v4, v5}, Landroid/view/View;->setBackgroundResource(I)V

    .line 330
    const v5, -0xd53e87

    invoke-virtual {v1, v5}, Landroid/widget/TextView;->setTextColor(I)V

    .line 331
    const v5, -0xd53e87

    invoke-virtual {v2, v5}, Landroid/widget/TextView;->setTextColor(I)V

    .line 332
    const v5, -0xd53e87

    invoke-virtual {v3, v5}, Landroid/widget/TextView;->setTextColor(I)V

    .line 310
    :cond_1
    :goto_1
    add-int/lit8 v0, v0, 0x1

    goto/16 :goto_0

    .line 336
    .end local v1    # "tv1":Landroid/widget/TextView;
    .end local v2    # "tv2":Landroid/widget/TextView;
    .end local v3    # "tv3":Landroid/widget/TextView;
    :cond_2
    const v5, 0x7f04001d

    invoke-virtual {v4, v5}, Landroid/view/View;->setBackgroundResource(I)V

    .line 337
    const v5, 0x7f0c036f

    invoke-virtual {v4, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    .line 338
    .restart local v1    # "tv1":Landroid/widget/TextView;
    const v5, 0x7f0c0370

    invoke-virtual {v4, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    .line 339
    .restart local v2    # "tv2":Landroid/widget/TextView;
    const v5, 0x7f0c036e

    invoke-virtual {v4, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    .line 340
    .restart local v3    # "tv3":Landroid/widget/TextView;
    const/high16 v5, -0x1000000

    invoke-virtual {v1, v5}, Landroid/widget/TextView;->setTextColor(I)V

    .line 341
    const v5, -0x333334

    invoke-virtual {v2, v5}, Landroid/widget/TextView;->setTextColor(I)V

    .line 342
    const/high16 v5, -0x1000000

    invoke-virtual {v3, v5}, Landroid/widget/TextView;->setTextColor(I)V

    goto :goto_1
.end method
